package 富婆梦.第一阶段.第三周.练习题;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList list  = new ArrayList();
        list.add(1);
        list.add("2");
        list.add("a");
        for (int i=0;i<3;i++){
            System.out.println(list.get(i));
        }
        for (Object a: list) {

        }

    }
}
